﻿@inherits DBlazor.Base.BaseDateEdit
@if ( !ComponentMapper.HasRegistration( this ) )
{
    <input type="date" class="@ClassMapper.Class" disabled="@IsDisabled" readonly="@IsReadonly" value="@internalDate" onchange="@InternalDateHandler" onclick="@ClickHandler" id="@ElementId" ref="ElementRef" placeholder="@Placeholder" min="@Min?.ToString(Utils.Parsers.InternalDateFormat)" max="@Max?.ToString(Utils.Parsers.InternalDateFormat)" />
    @ChildContent
    @Feedback
}
else
{
    @RenderCustomComponent()
}